package com.example.steveaoblogdemo.entity;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * (Comment)表实体类
 *
 * @author makejava
 * @since 2023-07-18 18:16:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("serial")
@TableName("comment")
public class Comment {
    //评论ID
    @TableId(type = IdType.AUTO)
    private Integer id;
    //评论文章ID
    private Integer aId;
    //评论人名称
    private String cName;
    //评论内容
    private String content;
    //创建时间
    private String createTime;
    //评论父ID
    private Integer parentId;
    //回复的评论列表
    private List<Comment> childList;
    //回复的人
    private String reply;

}

